var http = require('http')
var url = require('url')

http.createServer((req,res)=>{
  var ulobj = url.parse(req.url,true)
  console.log(ulobj.pathname)
  res.end(`${ulobj.query.callback}(${JSON.stringify({
    name:'kerwin',
    location:'dalian'
  })})`)
}).listen(3000)
